#!/usr/bin/env python
# coding=utf-8


class XiaoQu(object):
    def __init__(self, district, area, xiaoqu_id,name, price, on_sale,desc,pic):
        self.district = district
        self.area = area
        self.xiaoqu_id = xiaoqu_id
        self.price = price
        self.name = name
        self.on_sale = on_sale
        self.desc = desc
        self.pic = pic

    def text(self):
        return self.district + "," + \
                self.area + "," + \
                self.xiaoqu_id + "," + \
                self.name + "," + \
                self.desc
